﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using unitTesting;

namespace UnitTestProject1
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void MyTest()
        {
            Assert.IsTrue(true);
        }


        [TestMethod]
        public  void Test_Mult()
        {
            int expected = 2;
            multiplyer m = new multiplyer(1, 2);
            int result =  m.getResult;
            Assert.AreEqual(expected, result, 0, "This will pass");

        }

        [TestMethod]
        public void Fail_Test_Mult()
        {
            int expected = 22;
            multiplyer m = new multiplyer(1, 2);
            int result = m.getResult;
            Assert.AreEqual(expected, result, 0, "This will fail");

        }
    }
}
